//
//  ZJUIButton.m
//  ZiJinLian
//
//  Created by lc on 2017/3/23.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import "ZJUIButton.h"

@implementation ZJUIButton

-(void)layoutSubviews{
    [super layoutSubviews];
    self.imageView.userInteractionEnabled=YES;
    self.imageView.bsg_y=0;
    self.imageView.bsg_centerX=self.bsg_width/2;
    self.titleLabel.bsg_x=-20;
    self.titleLabel.bsg_y=self.imageView.bsg_bottom+10;
    self.titleLabel.bsg_height=self.bsg_height-self.imageView.bsg_height;
    self.titleLabel.bsg_width=self.bsg_width+40;
}

@end
